﻿using ESRI.ArcGIS.Client.Tasks;

namespace ESRI.ArcGIS.Client.Async
{
    public class QueryTaskResult
    {
        /// <summary>
        /// Gets the FeatureSet returned by the QueryTask.
        /// </summary>
        public FeatureSet FeatureSet { get; private set; }

        internal QueryTaskResult(QueryEventArgs eventArgs)
        {
            FeatureSet = eventArgs.FeatureSet;
        }
    }
}